﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Result</title>
</head>
<body>
    <div class="container" style="margin-top:20px;">
        <table class="table table-bordered">
            <tr>
                <th>id</th>
                <th>标题</th>
                <th>价格</th>
                <th>学校</th>
                <th>名字</th>
                <th>电话</th>
                <th>qq</th>
                <th>新旧</th>
                <th>发布日期</th>
                <th>是否置顶</th>
            </tr>
            @foreach (var l in ViewBag.list as List<MODEL.EsDetail>)
            {
                <tr>
                    <td>@l.id</td>
                    <td>@l.title</td>
                    <td>@l.price</td>
                    <td>@l.school</td>
                    <td>@l.name</td>
                    <td>@l.telephone</td>
                    <td>@l.qq</td>
                    <td>@l.oldNew</td>
                    <td>@l.date</td>
                    <td>@l.isTop</td>
                </tr>

            }
        </table>
    </div>
</body>
</html>
